package com.jeesite.model.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;




@JsonInclude(Include.NON_NULL)
@ApiModel(description = "响应数据格式")
public class ResponseData implements Serializable {

  private static final long serialVersionUID = -3973546572325250341L;


  @ApiModelProperty(value = "状态码")
  private Integer status = ResponseUtil.STATUS_SUCCESS;

  @ApiModelProperty(value = "响应信息")
  private String msg;

  @ApiModelProperty(value = "响应数据")
  private Object data;


  public ResponseData() {

  }

  public ResponseData(Integer status, String msg, Object data) {
    this.status = status;
    this.msg = msg;
    this.data = data;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public String getMsg() {
    return msg;
  }

  public void setMsg(String msg) {
    this.msg = msg;
  }

  public Object getData() {
    return data;
  }

  public void setData(Object data) {
    this.data = data;
  }


}

